package cn.cms.chuangjia.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author oldliu
 * @since 1.0
 */
@Data
@ToString(exclude = "password")
@ConfigurationProperties(prefix = "myredis")
@Component
public class LiuRedisConfig {
    private String ip;
    private int port;
    private String password;
    private int databaseid;
}
